#ifndef SRC_PAGES_FRM02_H
#define SRC_PAGES_FRM02_H

#include "../HmiApp.h"
#include "widgets/Widgets.h"
#include "type/Types.h"
#include "misc/misc.h"
#include "op/DataSample.h"
#include "op/EventMgr.h"
#include "op/RCP.h"
#include "op/OpLog.h"
#include "util/DateUtil.h"
#include "util/StringUtil.h"

using namespace std;
using namespace stt;
using namespace stt::op;
using namespace stt::db;
using namespace stt::misc;
using namespace stt::data;
using namespace stt::util;
using namespace stt::constant;

/********************************
 *
 *  页面类
 *
 *  注意：用户可在指定位置添加修改内容
 *

 ********************************/
class HmiApp;

class Frm02: public STTPage {
public:
	STTPanel *wMPanel1;
	STTLabel *wMLabel1;
	STTTextArea *wMText1;
	STTLabel *wMLabel2;
	STTButton *wMButton21;
	void wMButton21_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMMButton1;
	STTButton *wMButton1;
	void wMButton1_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton2;
	void wMButton2_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton3;
	void wMButton3_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton4;
	void wMButton4_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton5;
	void wMButton5_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton6;
	void wMButton6_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton7;
	void wMButton7_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton8;
	void wMButton8_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton9;
	void wMButton9_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton10;
	void wMButton10_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton11;
	void wMButton11_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton12;
	void wMButton12_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton13;
	void wMButton13_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton14;
	void wMButton14_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton15;
	void wMButton15_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton16;
	void wMButton16_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton17;
	void wMButton17_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton18;
	void wMButton18_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton19;
	void wMButton19_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton20;
	void wMButton20_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton22;
	void wMButton22_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton23;
	void wMButton23_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton24;
	void wMButton24_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton25;
	void wMButton25_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton26;
	void wMButton26_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton27;
	void wMButton27_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton29;
	void wMButton29_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton30;
	void wMButton30_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton31;
	void wMButton31_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton32;
	void wMButton32_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton33;
	void wMButton33_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton34;
	void wMButton34_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton35;
	void wMButton35_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton36;
	void wMButton36_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton37;
	void wMButton37_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton38;
	void wMButton38_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton39;
	void wMButton39_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton40;
	void wMButton40_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton41;
	void wMButton41_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton42;
	void wMButton42_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton43;
	void wMButton43_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton44;
	void wMButton44_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton45;
	void wMButton45_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton46;
	void wMButton46_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMButton47;
	void wMButton47_clk_cb(uint16_t code, LvEvent e);

public:
	Frm02(HmiApp *app, STTWidget *par, const string &id, const string &desc = "");
	virtual ~Frm02();
	void onInit();
	void createParts();
	void onLoad();
	bool onClosing();
	void onDispose();
	/*CUSTOM_CODE_BEGIN*/
	void onMyEvent(uint16_t code, LvEvent e);
	/*CUSTOM_CODE_END*/

protected:
	HmiApp *hmiApp;
};

#endif
